const app = getApp();
const area = require("../../../utils/area")
Page({
    data: {
        popupAreaflag: false,
        areaList: area.default,
        sexArr:['男生','女生'],
        sexflag: 0,
        fileList: [
            { url: 'http://olupic.ol-cdn.com/000/54/55/37_avatar_middle.jpg',},
            { url: 'http://olupic.ol-cdn.com/000/34/20/23_avatar_middle.jpg',}
        ]
    },

    tabCheck(e){
        this.setData({sexflag: e.currentTarget.dataset.idx})
    },

    closePopuparea(){
        this.setData({popupAreaflag: false})
    },

    showPopuparea(){
        this.setData({popupAreaflag: true})
    },

    selectArea(e){
        console.log(e.detail.values);
        this.closePopuparea();
    }

})